<%= javascript_include_tag "jquery/jquery-min.js" %>
<%= javascript_include_tag "jquery/jquery.tinysort.min.js" %>
<%= javascript_include_tag "jquery/jquery.tagcloud.js" %>
<%#= stylesheet_link_tag "screen.css" %>

<script>
				$(document).ready(function(){
					$("#cloud").tagcloud({colormin:"d88",colormax:"0a0",sizemin:20,height:700,power:1.5});	
				})
</script>
<style>
				#cloud{
								margin: 0pt; 
								padding: 0pt; 
								position: relative; 
								width: 698px; 
								height: 390.88px; 
								list-style-image: none; 
								list-style-position: outside; 
								list-style-type: none;
							}
</style>

<div class="clear"></div>

<ul id="cloud">
				<% @tags.each do |tag| %>
								<li value="<%= tag.posts_tags.count %>" title="<%= tag.name %>">
										<%= link_to tag.name,:controller => "posts",:action => "index",:id => tag.id %>
								</li>
				<% end %>
				<li value="40" title="漂自己的移，让别人都撞墙去吧">
						<a href="http://www.gagahappy.com/">漂自己的移，让别人都撞墙去吧</a>
				</li>
</ul>
